refactor: chromeless navigation design and layout alignment#26
refactor: chromeless navigation design and layout alignment#26michellepace merged 3 commits intomainfrom
Conversation
Route Group Rename: - Rename app/(root)/ to app/(app)/ for all pages and layout The name (app) pairs semantically with (auth) as both describe purpose rather than position. This improves LLM comprehension and reduces ambiguity with the actual root layout at app/layout.tsx. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Layout: - Wrap main content in centred max-w-5xl container - Replace layout-padding-x utility with inline responsive padding Desktop Topbar: - Mirror main layout structure (padding + max-w-5xl centring) - Set right section width to match right sidebar at xl breakpoint - Hide "Global Search" text below lg breakpoint CSS Variables: - Add --right-sidebar-width (22rem) for shared width reference - Remove unused .layout-padding-x utility class At wide viewports (1700px+), the topbar content drifted out of alignment with main content because they used different centring strategies. The topbar now mirrors the main layout structure, and both reference the same sidebar width variable to ensure consistent alignment at all breakpoints. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Navigation: - Switch desktop and mobile top bars from bg-sidebar to bg-background - Remove shadow-light from both top bars Right Sidebar: - Replace shadow-light with bg-background to override Sidebar component default - Retain border-l for visual separation Tags: - Add border-border in light mode for subtle definition against card backgrounds Top bars and right sidebar now blend seamlessly with the page background in both light and dark modes. The left sidebar retains its distinct bg-sidebar styling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughLayout restructuring introduces constrained maximum content width (max-w-5xl) with centred padding, adds a CSS variable for sidebar width, refactors topbar component structure for responsive two-section layout, removes the layout-padding-x utility, and updates styling classes across navigation and sidebar components. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (15)
🧰 Additional context used📓 Path-based instructions (4)**/*.{ts,tsx,js,jsx,md}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (4)📚 Learning: 2025-12-25T13:56:02.914ZApplied to files:
📚 Learning: 2025-12-10T20:20:46.607ZApplied to files:
📚 Learning: 2025-12-30T21:09:31.840ZApplied to files:
📚 Learning: 2025-12-28T22:41:43.692ZApplied to files:
🧬 Code graph analysis (2)app/(app)/layout.tsx (1)
components/tag-link.tsx (1)
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
(root)→(app)for clearer semanticsbg-backgroundinstead ofbg-sidebar, removed shadows)--right-sidebar-widthfor consistent width referencesTest plan
🤖 Generated with Claude Code